home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1986 July
/
Ahoy_Magazine_86-07_1986_Double_L.d64
/
left overs 1
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
263b
|
12 lines
0 print"[147]":poke53280,4:poke53281,0:poke646,5
1 print"commodares problem #27-1:"
2 print" left overs"
3 print"solution by..."
4 print" robert g. bailey"
5 print"[158]one moment please...."
10 for n=1 to 1000000
15 for t=10 to 2 step -1
20 if n-(int(n/t)*t)<>t-1 goto 40
30 next t:print n;
40 next n